clear all
set more off
cd "D:/Dropbox/coauthors/AMT_Bisbee_Larson/bisbee_larson_replication_final"

********************************************************************************
* This file recreates all figures and tables from "INSERT FINAL TITLE HERE".
* The original survey results are not included in the replication materials 
* although they can be made available upon request. Note that, although this 
* master replication file is written in Stata, the R files are called via shell
* commands so that all tables and figures can be replicated directly from this 
* file. However, users must ensure that the appropriate packages are installed
* in order to run this master_replication.do file without error.
*
* Users are encouraged to refer to the flow-chart.pdf included in the zipped 
* replication file, as well as the README.txt file. 
********************************************************************************
run ./tools/data_prep.do

cd "D:/Dropbox/coauthors/AMT_Bisbee_Larson/bisbee_larson_replication_final"
run ./descriptive/descriptive_replication.do

run ./characteristics/characteristics_replication.do

run ./relationships/relationships_replication.do

run ./protests/protest_replication.do

shell "C:\Program Files\R\R-3.3.1\bin\x64\R.exe" CMD BATCH "D:/Dropbox/coauthors/AMT_Bisbee_Larson/bisbee_larson_replication_final/descriptive/descriptive_results.R"

shell "C:\Program Files\R\R-3.3.1\bin\x64\R.exe" CMD BATCH "D:/Dropbox/coauthors/AMT_Bisbee_Larson/bisbee_larson_replication_final/characteristics/chars_results.R"

shell "C:\Program Files\R\R-3.3.1\bin\x64\R.exe" CMD BATCH "D:/Dropbox/coauthors/AMT_Bisbee_Larson/bisbee_larson_replication_final/models/models_results.R"

shell "C:\Program Files\R\R-3.3.1\bin\x64\R.exe" CMD BATCH "D:/Dropbox/coauthors/AMT_Bisbee_Larson/bisbee_larson_replication_final/relationships/rels_results.R"

shell "C:\Program Files\R\R-3.3.1\bin\x64\R.exe" CMD BATCH "D:/Dropbox/coauthors/AMT_Bisbee_Larson/bisbee_larson_replication_final/protests/protest_results.R"
